{extend name="base" /}
{block name="title"}
    <title>{$config.web_title} - {$config.seo_title}</title>
    <meta name="keywords" content="{$config.keywords}" />
    <meta name="description" content="{$config.description}" />
{/block}

{block name="content"}
    <div class="widewrapper main">
        <div class="container">
            <div class="row">
                <div class="col-md-8 blog-main">

                    <div class="row">
                        {if $keywords}<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> >>共检索到以下文章</div>{/if}
                        {foreach name="list" item="v"}
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <article class=" blog-teaser">
                                <header>
                                    <a href="{:url('/article/'.$v.id)}"><img src="{if $v.thumb_url}{$v.thumb_url}{else/}{$config.default_big_img}{/if}" alt=""></a>
                                    <h3><a href="{:url('/article/'.$v.id)}">{$v.title}</a></h3>
                                    <span class="meta">{$v.create_time}, {$v.editor} </span>
                                    <hr>
                                </header>
                                <div class="body">
                                    {$v.description}
                                </div>
                                <div class="clearfix">
                                    <a href="{:url('/article/'.$v.id)}" class="btn btn-clean-one">阅读全文</a>
                                </div>
                            </article>
                        </div>
                        {/foreach}
                        <br/>

                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            {$list->render()}
                        </div>

                    </div>

                    <div class="paging">
                        <a href="#" class="older"><i>Older Post</i></a>
                    </div>
                </div>

                {__block__}

            </div>
        </div>
    </div>

{/block}